package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.State;
import com.san.hkhospital.entity.StateExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:StateMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface StateMapper {
    long countByExample(StateExample example);

    int deleteByExample(StateExample example);

    int deleteByPrimaryKey(Integer stateId);

    int insert(State record);

    int insertSelective(State record);

    List<State> selectByExample(StateExample example);

    State selectByPrimaryKey(Integer stateId);

    int updateByExampleSelective(@Param("record") State record, @Param("example") StateExample example);

    int updateByExample(@Param("record") State record, @Param("example") StateExample example);

    int updateByPrimaryKeySelective(State record);

    int updateByPrimaryKey(State record);
}